package com.yao.securitydemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tututu
 * @description
 * @date 2022/4/23 18:43
 */
@RestController
public class TestController {

    @GetMapping("/hello")
    public String hello(){
        return "hello security";
    }

    @GetMapping("/index")
    public String index(){
        return "hello index";
    }

    @GetMapping("/r/r1")
    public String r1(){
        return "hello r1";
    }

    @GetMapping("/r/r2")
    public String r2(){
        return "hello r2";
    }
}
